package com.dog.basics.bean.model.mtkj;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺账户
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mt_shopping_account")
public class MtShoppingAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺账户标识
     */
    private Long id;

    /**
     * 店铺标识
     */
    @TableField("shop_id")
    private Long shopId;

    /**
     * 余额
     */
    private BigDecimal money;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 冻结余额
     */
    @TableField("freezing_money")
    private BigDecimal freezingMoney;

    /**
     * 创建者
     */
    @TableField("create_by")
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Long createTime;

    /**
     * 更新人
     */
    @TableField("update_by")
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Long updateTime;


}
